package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.MemberPoint;
import com.weixing.mall.provider.model.dto.MemberPointDto;
import com.weixing.mall.provider.model.query.MemberPointQuery;
import com.weixing.mall.provider.model.vo.MemberPointVo;

/**
 * <p>
 * 会员积分模块 服务类
 * </p>
 *
 * @author Small
 * @since 2020-04-13
 */
public interface IMemberPointService extends IService<MemberPoint> {

    IPage<MemberPointVo> selectOfPage(Page initMpPage, MemberPointQuery memberPointQuery);

    void  addMemberPoint(MemberPointDto memberPointDto);

    IPage<MemberPointVo> selectOfPage(Page initMpPage, Long memberId);
}
